package wjh.service;

import org.springframework.web.multipart.MultipartFile;
import wjh.pojo.Patient;

import javax.servlet.http.HttpServletRequest;

public interface UserInfoService {

    Patient findUserById(int id);

    void updateInfo(Patient patient, MultipartFile file, HttpServletRequest request);

    Patient findUserLogin(String name, String password);

    Patient findUserId(String name, String password);

    Patient findUserRegister(String name);

    void register(String name, String password);
}
